import actionType from '../actionTypes/user';
import type { UserInfoType } from '@/types/login';
// 添加登录账号信息
export const setUserInfo = (params: UserInfoType) => {
  return {
    ...params,
    type: actionType.SETUSERINFO,
  };
};
// 移除登录账号信息
export const removeInfo = () => ({
  type: actionType.REMOVEINFO,
});
